import java.util.Random;

public class Main {
    public Main() {
    }

    public static void main(String[] args) {
        test1();
    }

    public static void test1() {
        String[] students = new String[]{"张三", "李四", "王五", "赵六", "陈七", "林八"};
        Random random = new Random();
        int index = random.nextInt(students.length);
        System.out.println("被点名的同学是：" + students[index]);
    }
}
